﻿@model UserInfo 
<div class="layout-onecolumn">
    <div class="editor-label">
        @Html.LabelFor(model => model.Name,DisplayOptions.Auto)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Name)
    </div>
</div>
<div class="layout-onecolumn">
    <div class="editor-label">
        @Html.LabelFor(model => model.StaffCode, DisplayOptions.Auto)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.StaffCode)
    </div>
</div>
<div class="layout-onecolumn">
    <div class="editor-label">
        @Html.LabelFor(model => model.StaffNameCN, DisplayOptions.Auto)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.StaffNameCN)
    </div>
</div>
<div class="layout-onecolumn">
    <div class="editor-label">
        @Html.LabelFor(model => model.StaffNameEN, DisplayOptions.Auto)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.StaffNameEN)
    </div>
</div>
<div class="layout-onecolumn">
    <div class="editor-label">
        @Html.LabelFor(model => model.Inner_Email, DisplayOptions.Auto)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Inner_Email)
    </div>
</div>
<div class="layout-onecolumn">
    <div class="editor-label">
        @Html.LabelFor(model => model.Exter_Email)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Exter_Email)
    </div>
</div>
<div class="layout-onecolumn">
    <div class="editor-label">
        @Html.LabelFor(model => model.CompanyNo)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.CompanyNo)
    </div>
</div>
<div class="layout-onecolumn">
    <div class="editor-label">
        @Html.LabelFor(model => model.Department)
    </div>
    <div class="editor-field">
          @Html.EditorFor(model => model.Department)
        @Html.ValidationMessageFor(model => model.Department)
    </div>
</div>
<div class="layout-onecolumn">
    <div class="editor-label">
        @Html.LabelFor(model => model.CostCenter)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.CostCenter)
    </div>
</div>
<div class="layout-onecolumn">
    <div class="editor-label">
        @Html.LabelFor(model => model.WorkCenter)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.WorkCenter)
    </div>
</div>
<div class="layout-onecolumn">
    <div class="editor-label">
        @Html.LabelFor(model => model.Phone)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Phone)
    </div>
</div>
<div class="layout-onecolumn">
    <div class="editor-label">
        @Html.LabelFor(model => model.Gender)
    </div>
    <div class="editor-field">
        <span style="float:left">@Html.RadioButtonFor(model => model.Gender, "M")男</span>
        <span style="float:left">@Html.RadioButtonFor(model => model.Gender, "F")女</span>
    </div>
</div>
<div class="layout-onecolumn">
    <div class="editor-label">
        @Html.LabelFor(model => model.Mobile)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Mobile)
    </div>
</div>
<div class="layout-threecolumn">
    <div class="editor-label">
        @Html.LabelFor(model => model.Roles, DisplayOptions.Auto)
    </div>
    <div class="editor-field">
       @Html.CheckBoxList("RoleTypes", ViewData["RoleTypes"] as List<SelectListItem>)
    </div>
</div>
